Optimal. Leaf size=72 \[ a^{5/2} \left (-\tanh ^{-1}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )\right )+a^2 \sqrt {a+b x^2}+\frac {1}{3} a \left (a+b x^2\right )^{3/2}+\frac {1}{5} \left (a+b x^2\right )^{5/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {266, 50, 63, 208} \[ a^2 \sqrt {a+b x^2}+a^{5/2} \left (-\tanh ^{-1}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )\right )+\frac {1}{3} a \left (a+b x^2\right )^{3/2}+\frac {1}{5} \left (a+b x^2\right )^{5/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 208
Rule 266
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^{5/2}}{x} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {(a+b x)^{5/2}}{x} \, dx,x,x^2\right )\\ &=\frac {1}{5} \left (a+b x^2\right )^{5/2}+\frac {1}{2} a \operatorname {Subst}\left (\int \frac {(a+b x)^{3/2}}{x} \, dx,x,x^2\right )\\ &=\frac {1}{3} a \left (a+b x^2\right )^{3/2}+\frac {1}{5} \left (a+b x^2\right )^{5/2}+\frac {1}{2} a^2 \operatorname {Subst}\left (\int \frac {\sqrt {a+b x}}{x} \, dx,x,x^2\right )\\ &=a^2 \sqrt {a+b x^2}+\frac {1}{3} a \left (a+b x^2\right )^{3/2}+\frac {1}{5} \left (a+b x^2\right )^{5/2}+\frac {1}{2} a^3 \operatorname {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^2\right )\\ &=a^2 \sqrt {a+b x^2}+\frac {1}{3} a \left (a+b x^2\right )^{3/2}+\frac {1}{5} \left (a+b x^2\right )^{5/2}+\frac {a^3 \operatorname {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^2}\right )}{b}\\ &=a^2 \sqrt {a+b x^2}+\frac {1}{3} a \left (a+b x^2\right )^{3/2}+\frac {1}{5} \left (a+b x^2\right )^{5/2}-a^{5/2} \tanh ^{-1}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 62, normalized size = 0.86 \[ \frac {1}{15} \sqrt {a+b x^2} \left (23 a^2+11 a b x^2+3 b^2 x^4\right )-a^{5/2} \tanh ^{-1}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.96, size = 126, normalized size = 1.75 \[ \left [\frac {1}{2} \, a^{\frac {5}{2}} \log \left (-\frac {b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {a} + 2 \, a}{x^{2}}\right ) + \frac {1}{15} \, {\left (3 \, b^{2} x^{4} + 11 \, a b x^{2} + 23 \, a^{2}\right )} \sqrt {b x^{2} + a}, \sqrt {-a} a^{2} \arctan \left (\frac {\sqrt {-a}}{\sqrt {b x^{2} + a}}\right ) + \frac {1}{15} \, {\left (3 \, b^{2} x^{4} + 11 \, a b x^{2} + 23 \, a^{2}\right )} \sqrt {b x^{2} + a}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.19, size = 62, normalized size = 0.86 \[ \frac {a^{3} \arctan \left (\frac {\sqrt {b x^{2} + a}}{\sqrt {-a}}\right )}{\sqrt {-a}} + \frac {1}{5} \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} + \frac {1}{3} \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} a + \sqrt {b x^{2} + a} a^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 66, normalized size = 0.92 \[ -a^{\frac {5}{2}} \ln \left (\frac {2 a +2 \sqrt {b \,x^{2}+a}\, \sqrt {a}}{x}\right )+\sqrt {b \,x^{2}+a}\, a^{2}+\frac {\left (b \,x^{2}+a \right )^{\frac {3}{2}} a}{3}+\frac {\left (b \,x^{2}+a \right )^{\frac {5}{2}}}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.33, size = 54, normalized size = 0.75 \[ -a^{\frac {5}{2}} \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | x \right |}}\right ) + \frac {1}{5} \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} + \frac {1}{3} \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} a + \sqrt {b x^{2} + a} a^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.68, size = 59, normalized size = 0.82 \[ \frac {a\,{\left (b\,x^2+a\right )}^{3/2}}{3}+\frac {{\left (b\,x^2+a\right )}^{5/2}}{5}+a^2\,\sqrt {b\,x^2+a}+a^{5/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,x^2+a}\,1{}\mathrm {i}}{\sqrt {a}}\right )\,1{}\mathrm {i} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 3.56, size = 105, normalized size = 1.46 \[ \frac {23 a^{\frac {5}{2}} \sqrt {1 + \frac {b x^{2}}{a}}}{15} + \frac {a^{\frac {5}{2}} \log {\left (\frac {b x^{2}}{a} \right )}}{2} - a^{\frac {5}{2}} \log {\left (\sqrt {1 + \frac {b x^{2}}{a}} + 1 \right )} + \frac {11 a^{\frac {3}{2}} b x^{2} \sqrt {1 + \frac {b x^{2}}{a}}}{15} + \frac {\sqrt {a} b^{2} x^{4} \sqrt {1 + \frac {b x^{2}}{a}}}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________